package com.inspectortime.domain;

import com.inspectortime.common.Identifiable;
import com.inspectortime.domain.type.Name;

public interface User extends Identifiable {
	
	Name getName();

	void setName(Name name);

	public String getEmail();
	public void setEmail(String email);

	public String getOldEmail();
	public void setOldEmail(String email);

	public String getEmailConfirm();
	public void setEmailConfirm(String emailConfirm);

	public String getUserName();
	public void setUserName(String userName);
	
	public String getOldUserName();
	public void setOldUserName(String userName);

	public String getPassword();
	public void setPassword(String password);
	
	public boolean passwordMatches(String cleartextPassword);
	public void setCleartextPassword(String cleartextPassword);

	public String getPasswordResetToken();
	public void setPasswordResetToken(String token);
	
}
